package com.wq.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wq.dto.ArticleDeleteDTO;
import com.wq.dto.ArticleDetailDTO;
import com.wq.dto.ArticlePageDTO;
import com.wq.dto.ArticlePublishDTO;
import com.wq.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wq.vo.ArticleDetailVO;
import com.wq.vo.ArticlePageVO;

/**
 * <p>
 * 文章表 服务类
 * </p>
 *
 * @author wuyunbin
 * @since 2024-10-19
 */
public interface ArticleService extends IService<Article> {

    void publish(ArticlePublishDTO articlePublishDTO);

    IPage<ArticlePageVO> getPage(ArticlePageDTO articlePageDTO);

    void removeArticle(ArticleDeleteDTO articleDeleteDTO);

    ArticleDetailVO detail(ArticleDetailDTO articleDetailDTO);
}
